﻿using Basic.WxApiRemoteModel.WxBind.Model;
using Basic.WxService.Model.WxBind;
using WeDonekRpc.Model;

namespace Basic.WxService.Interface
{
    public interface IWxBindStateService
    {
        string ApplyBind (ApplyBindArg obj, MsgSource source);
        WxMerBindCache Begin (string preauthCode, string wxAppId);
        void Fail (WxMerBindCache apply, string error);
        void Complete (WxMerBindCache apply);

        WxMerBindCache Get (string applyId);
        void Save (WxMerBindCache apply);
    }
}